﻿/***
	
	# CopyRights By Pr (yslee96@naver.com / webmaster@prev.kr) 
		
	@ Author Pr (yslee96@naver.com) 
	
	@ http://prev.kr
	
***/


import flash.events.EventDispatcher;
import flash.events.Event;

private var dispatcher:EventDispatcher = new EventDispatcher();

public function hasEventListener(type:String):Boolean
{
     return this.dispatcher.hasEventListener.apply(null, arguments);
}

public function willTrigger(type:String):Boolean
{
     return this.dispatcher.willTrigger.apply(null, arguments);
}

public function addEventListener(type:String, listener:Function, useCapture:Boolean=false, priority:int=0.0, useWeakReference:Boolean=false):void
{
     this.dispatcher.addEventListener.apply(null, arguments);
}

public function removeEventListener(type:String, listener:Function, useCapture:Boolean=false):void
{
     this.dispatcher.removeEventListener.apply(null, arguments);
}

public function dispatchEvent(event:Event):Boolean
{
     return this.dispatcher.dispatchEvent.apply(null, arguments);
}
